<link href="../addons/jy_robshop/css/style.css" rel="stylesheet">
<div class='fui-page fui-page-current page-globonus-register'> 
    <div class='fui-content'>
		<img style="width:100%;position: relative" ng-src="{{tomedia(pagedata.set.regbg) || '../addons/jy_weishop/resource/images/agent-top.jpg'}}" />
        <div ng-if="pagedata.member.partnerblack==1" class='content-empty' >
            <i class='icon icon-info text-danger'></i>
            <br/><span class="text-danger">禁止访问，请联系客服！</span>
            <br/><a class="btn btn-danger" href="javascript:;" ng-click="access_json(pagedata.shop_action)">去商城逛逛</a>
        </div>
        <div ng-if="pagedata.set.become==2 && pagedata.member.ispartner!=1" class='fui-list-group'>
            <div class='fui-list-group-title'><i class="icon icon-lights"></i> 友情提醒</div>
            <div class='fui-list'>
                <div class='fui-list-inner'>
                    <div class='text'>本店累计消费满 <span class="text-danger text-bold">{{pagedata.set.num}}</span> 次，
                        才可成为股东，您已消费 <span class="text-danger text-bold">{{pagedata.num}}</span> 次，请继续努力！</div>
                </div>
            </div></div>
        <a ng-if="pagedata.set.become==2 && pagedata.member.ispartner!=1" class="btn btn-danger block" href="javascript:;" ng-click="access_json(pagedata.shop_action)">继续去购物</a>
       
       
        <div ng-if="pagedata.set.become==3 && pagedata.member.ispartner!=1" class='fui-list-group'>
            <div class='fui-list-group-title'><i class="icon icon-lights"></i> 友情提醒</div>
            <div class='fui-list'>
                <div class='fui-list-inner'>
                    <div class='text'>本店累计消费满 <span class="text-danger text-bold">{{pagedata.set.money}}</span> 元，
                        才可成为股东，您已消费 <span class="text-danger text-bold">{{pagedata.money}}</span> 元，请继续努力！</div>
                </div>
            </div></div>
        <a ng-if="pagedata.set.become==3 && pagedata.member.ispartner!=1" class="btn btn-danger block external" href="javascript:;" ng-click="access_json(pagedata.shop_action)">继续去购物</a>   
        <div  ng-if="pagedata.member.partnerstatus==1 && pagedata.member.ispartner==1" class='content-info'>
            <i class='icon icon-roundcheck text-success'></i>
            <br/><span class="text-success">您的申请已经审核通过！</span>
            <br/><a class="btn btn-danger" href="{php echo mobileUrl()}">去商城逛逛</a>
        </div>
        <div ng-if="pagedata.member.partnerstatus==0 && pagedata.member.ispartner==1" class='content-info' >
            <i class='icon icon-time'></i>
            <br/><span class="">谢谢您的支持，请等待审核！</span>
        </div>
       
       <div ng-if=" pagedata.member.ispartner!=1">
        <div  class="fui-cell-group" style='margin-top:0'>
            <div class="fui-cell-title">
                请填写申请信息
            </div>
          
            <div class='fui-cell must'>
                <div class='fui-cell-label'>姓名</div>
                <div class='fui-cell-info'><input type="text" class='fui-input' id='realname' placeholder="请填写真实姓名，用于结算" ng-model="pagedata.info.realname"  /></div>
            </div>
            <div class='fui-cell must'>
                <div class='fui-cell-label'>手机号</div>
                <div class='fui-cell-info'><input type="tel" class='fui-input' id='mobile' placeholder="请填写手机号码方便联系" ng-model="pagedata.info.mobile"  /></div>
            </div>
            <div class='fui-cell'>
                <div class='fui-cell-label'>微信号</div>
                <div class='fui-cell-info'><input type="text" class='fui-input' id='weixin' placeholder="请填写微信号" ng-model="pagedata.info.weixin"/></div>
            </div>
           
           
            <div ng-if="pagedata.set.applytitle && pagedata.set.applycontent" class="fui-cell-group">
                <div class="fui-cell small ">
                    <div class="fui-cell-info">
                        <label class="checkbox-inline">
                            <input type="checkbox" class="fui-checkbox-primary" ng-click="pagedata.info.check=1" ng-checked="pagedata.info.check==1"/> 我已经阅读并了解了<a ng-click="pagedata.show=1" id="btn-apply" style="color:#337ab7;">【{{pagedata.set.applytitle}}】</a>。
                        </label>
                    </div>
                </div>
            </div>
           <div ng-show="pagedata.show" class="modal-bg pop-apply-hidden" >
                <div class="modal-content" style="top:10%;width:90%;left:5%">
                    <div class="closebtn" ng-click="pagedata.show=false" style="opacity:1;"><i class="icon icon-cuowu"></i></div>
                    <div class="news-body">
						<div class="title">{{pagedata.set.applytitle}} / <small>Read &nbsp;Ggree</small></div>
                        <div class="text" ng-bind-html="trust(pagedata.set.applycontent)"></div>
                    </div>
					<div class="modal-footer">
                            <div ng-click="pagedata.show=false;pagedata.info.check=1" class="mod-check" style="width: 100%; margin: 0;">我已阅读</div>
                    </div>
                </div>
         </div>
           
        </div>
        <div class='btn btn-danger block btn-submit' href="javascript:" ng-click="post(pagedata.info,'post')" >申请{{pagedata.set.tbecome||'成为股东'}}</div>
        <div class='fui-list-group vip-group'>
          
                <div class='fui-list'>
                    <div class='fui-list-media '><i class='icon icon-vip'></i></div>
                    <div class='fui-list-inner'>
                        <div class='subtitle'>股东特权</div>
                    </div>
                </div>
                <div class='fui-list'>
                    <div class='fui-list-media'><i class='icon icon-money text-danger'></i></div>
                    <div class='fui-list-inner'>
                        <div class='subtitle'>坐享分红</div>
                        <div class='text' ng-if="!pagedata.set.tdesc">成为股东后，您可以享受平台营业额的{{pagedata.set.rate}}收益</div>
						<div class='text' ng-if="pagedata.set.tdesc">{{pagedata.set.tdesc}}</div>
                    </div>
                </div>
        </div>
        </div>
    </div>
    
</div>